package cn.yunbamboos.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

// 开启Spring应该上下文的自动配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class ZLMain {

    private static final Logger logger = LoggerFactory.getLogger(ZLMain.class);


    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ZLMain.class, args);
        logger.info("启动完成 {}", context);
    }

}
